
const req = import.meta.glob('../../assets/icons/svg/**/*.svg')
const requireAll = requireContext => Object.keys(requireContext)

const re = /svg\/(.*)\.svg/

const icons = requireAll(req).map(i => i.match(re)[1])

export default icons
